# # CMake 最低版本号要求
cmake_minimum_required (VERSION 2.8)

set(CMAKE_CXX_STANDARD 11)

# 交叉编译 --- 设置编译器和目标平台
set(CMAKE_CXX_COMPILER "arm-linux-g++")
set(CMAKE_C_COMPILER "arm-linux-gcc")

include_directories(../Common)

# 添加第一个可执行文件
aux_source_directory(. DIR_SRCS)
aux_source_directory(../Common DIR_SRCS)

# 编译Log为静态库文件
add_library(LogClientLib ${DIR_SRCS})

